<?php

/**
 * Class Notice
 * 提示信息类
 */
class Notice extends MY_Model {

    /**
     * 储值卡售卖提醒
     * @author hteen
     *
     * @param $order_id 订单ID
     *
     * @return bool
     */
    public function newRechargeOrder( $order_id ){

        $data = [
            'action' => 'notice',
            'type' => 'newRechargeOrder',
            'to' => '',
            'args' => [$order_id]
        ];

        $this->wsClient->send(json_encode($data));
        $tmp = $this->wsClient->recv();

        return $tmp;
    }

}